package com.shop.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//角色模块表
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("rolemodules")
public class Rolemodules implements Serializable {
    @TableId(value = "roleModulesId",type = IdType.AUTO)
    private Integer roleModulesId;//用户模块id

    private Integer modulesId;//模块编号

    private Integer roleId;//角色编号
    private Integer exit1;//备用字段1

    private String exit2;//备用字段2
}
